package com.es.www;

/**
 * @Created by michangtao
 * @Date 2022/5/19 15:03
 * @Description
 */
public class MilkDecorator extends CoffeeDecorator{

    public MilkDecorator(ICoffee coffee) {
        super(coffee);
    }

    @Override
    public void makeCoffee() {
        super.makeCoffee();
        addMilk();
    }

    public void addMilk(){
        System.out.println("加奶");
    }
}
